package com.wxmit.module.system.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description 修改密码对dto
 * @Author huangxiong
 * @Date 2022/8/5 11:10
 * @Version V1.0
 */
@Data
public class UpdateUserPwDTO  implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "原密码不能为空")
    private String oldPw;

    @NotNull(message = "新密码不能为空")
    private String pwd;
}
